cmake_minimum_required(VERSION 3.16.3)
project(mytest)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_VERBOSE_MAKEFILE ON)

# 指定 SystemC 的头文件和库路径
include_directories("/home/hawk/workspace/systemc234/include")
link_directories("/home/hawk/workspace/systemc234/libs")

# 添加可执行文件
add_executable(${PROJECT_NAME} main.cpp
        basic/01_module.h
        basic/02_sc_ctor.h
        basic/03_sc_has_process.h
        basic/04_simu_process.h
        basic/05_simu_stage.h
        basic/06_time.h
        basic/07_concurrency.h
        basic/08_event.h
        basic/09_event_combined.h
        basic/10_delta_cycle.h
        basic/11_sensitivity.h
)


# 链接 SystemC 库
target_link_libraries(${PROJECT_NAME} systemc)